package com.itheima.health.dao;

import com.itheima.health.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderDao {
    /**
     * @param id
     * @return
     */
    Map findById(@Param("id") Integer id);


    Integer findMemberCountByDate(String date);

    Integer findMemberCountWeekByDate(String date);

    Integer findMemberCountMonthByDate(String date);

    Integer findVisitCountByDate(String date);


    Integer findVisitCountWeekByDate(String date);

    Integer findVisitCountMonthByDate(String date);

    List<Map> findHotSetmeal();
}
